package com.moss.cloud.base.api.model.from;

import com.moss.cloud.common.core.annotation.document.ApiComment;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ApiComment(value = "获取任务节点表单参数")
public class TaskFrom implements Serializable {
    /**
     * 流程表单数据
     */
    @ApiComment(value = "流程表单数据")
    private String flowForm;
    /**
     * 流程模型ID
     */
    @ApiComment(value = "流程模型ID",required = true)
    @NotNull(message = "流程模型ID不能为空")
    private Long modelId;
}
